package cn.coco.jf.fw.core.db;


import java.util.Date;

import com.jfinal.plugin.activerecord.Model;

import cn.coco.jf.fw.core.consts.JkConst;

/**
 * 验证码表
 * @author mark
 *
 */
public class SysVerfCodeTbl extends Model<SysVerfCodeTbl>{
    /**
     * 
     */
    private static final long serialVersionUID = 1L;
    public static SysVerfCodeTbl dao = new SysVerfCodeTbl().use(JkConst.DATA_SOURCE_NAME_MYSQL);

    public static SysVerfCodeTbl newInstance(){
        return new SysVerfCodeTbl().use(JkConst.DATA_SOURCE_NAME_MYSQL);
    }

    public SysVerfCodeTbl(){
        use(JkConst.DATA_SOURCE_NAME_MYSQL);
    }

    private String verfIdf;
    private String usageIdf; // 使用区分
    private String verfCode; // 使用唯一标识符
    private Date validDateTime; // 生成code的时间

    public String getVerfIdf() {
        return get("verfIdf");
    }

    public void setVerfIdf(String verfIdf) {
        set("verfIdf", verfIdf);
    }

    public String getUsageIdf() {
        return get("usageIdf");
    }

    public void setUsageIdf(String usageIdf) {
        set("usageIdf", usageIdf);
    }

    public String getVerfCode() {
        return get("verfCode");
    }

    public void setVerfCode(String verfCode) {
        set("verfCode", verfCode);
    }

    public Date getValidDateTime() {
        return get("validDateTime");
    }

    public void setValidDateTime(Date validDateTime) {
        set("validDateTime", validDateTime);
    }


}
